/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication5;

import java.io.File;
import javaapplication5.controller.AddressBookController;
import javaapplication5.model.AddressBookModel;
import toolsKit.csv.CsvFileHelper;
import toolsKit.test.CsvContactDao11Test;
import toolsKit.test.CsvContactDao13Test;
import view.AddressBookView;

/**
 *
 * @author mathieubakrim
 */
public class JavaApplication5 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        AddressBookModel theModel = new AddressBookModel();
        
        AddressBookController theController = new AddressBookController(theModel);
        
        AddressBookView theView = new AddressBookView(theController);
        
        
       
        
        theView.setVisible(true);
       
        /*
         * final String fileName = "data.csv";
        
        final  File file = CsvFileHelper.getResource(fileName);
        
        CsvContactDao11Test test = new CsvContactDao11Test();
        test.beforeClass();        
        test.testFindAllContacts();
        
        
        //test.testFindByLastNameAdam();
        
        //test writing case
        CsvContactDao13Test test2 = new CsvContactDao13Test();
        test2.beforeClass();
        test2.testWrite();
        test.testFindAllContacts();
       
       * */
    }
}
